package com.lzy.mall.member.feign;

import com.lzy.mall.common.utils.ResultUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lzy
 * @date 2021/10/13 11:38
 */
@FeignClient("mall-order")
public interface OrderFeignService {

    @GetMapping("/order/listWithItem/{pageNum}")
    ResultUtils listWithItem(@PathVariable("pageNum") Long pageNum);
}
